﻿namespace Catel.Articles._08___WP7_Camera.Views
{
    using Phone.Controls;

    using ViewModels;

    /// <summary>
    /// Interaction logic for AboutView.xaml.
    /// </summary>
    public partial class AboutView : AboutViewIntermediate
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AboutView"/> class.
        /// </summary>
        public AboutView()
        {
            InitializeComponent();
        }
    }

    /// <summary>
    /// Intermediate class for AboutView since WP7 doesn't support generic base classes.
    /// </summary>
    public class AboutViewIntermediate : PhoneApplicationPage<AboutViewModel>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AboutViewIntermediate"/> class.
        /// </summary>
        /// <remarks>
        /// This constructor can only be used for design-time support. An exception will be thrown when it is used
        /// outside a designer.
        /// </remarks>
        public AboutViewIntermediate()
        {
        }
    }
}
